package com.newtouch.bxzs.business.statistics.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.newtouch.bxzs.common.base.model.bo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 个人业绩月度明细VO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/8</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("业绩月度明细VO")
@EqualsAndHashCode(callSuper = true)
public class AchievementMonthlyDetailVO extends PageParam implements Serializable {
    /**serialVersionUID*/
    private static final long serialVersionUID = 301569881888676984L;

    @ApiModelProperty(value = "月份")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date month;

    @ApiModelProperty(value = "公司信用编号")
    private String organizationCode;

    @ApiModelProperty(value = "用户工号",hidden = true)
    private String userJobNumber;

    @ApiModelProperty(value = "月初")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date startMonth;

    @ApiModelProperty(value = "月末")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date endMonth;

}
